From 050883d0fd37f147be8af0dbb037c4116825e36a Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Mon, 6 Aug 2007 13:39:20 +0100 Subject: [PATCH] xm: pass --skipdtd parameter through to 'xm new' Pass the command line parameter '--skipdtd|-s' through to the actual 'xm new' command. Signed-off-by: Stefan Berger --- tools/python/xen/xm/new.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/python/xen/xm/new.py b/tools/python/xen/xm/new.py index 742c7ff8fd..0fb7d8fc58 100644 --- a/tools/python/xen/xm/new.py +++ b/tools/python/xen/xm/new.py @@ -75,7 +75,8 @@ def main(argv): doc = sxp2xml_inst.convert_sxp_to_xml(config) xenapi_create_inst = xenapi_create() - vm_refs = xenapi_create_inst.create(document = doc) + vm_refs = xenapi_create_inst.create(document = doc, + skipdtd=opts.vals.skipdtd) else: make_unstarted_domain(opts, config) -- 2.30.2